.nav {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    justify-content: space-around;
    align-items: center;
}